<?php 
class Lua_Util_String
{
	/**
	 * check if str has any character
	 * Enter description here ...
	 * @param unknown_type $str
	 */
    public static function hasText($str) {
        return isset($str) && (strlen(trim($str)) > 0);
    }

}